package com.ontheroad.device.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 设备类
 * 
 * @author Yongtao Huang
 */
public class DeviceEntity implements Serializable {

	private static final long serialVersionUID = -7077273757504216906L;
	/**  */
	private String id;
	/**
	 * 设备端口号
	 */
	private Integer port;
	/**
	 * 设备名字
	 */
	private String name;

	/**
	 * 设备类型
	 */
	private String type;

	/**
	 * 房间号
	 */
	private Integer room;
	/**
	 * 倒计时时间(分钟)
	 */
	private Integer coutDown;
	/**
	 * 最长开启时间(分钟)，0-未设置
	 */
	private Integer maxON;

	/**
	 * 0-不隐藏,1-全部列表,2-房间列表,4-楼层列表,8-类别列表,16-电器列表
	 */
	private Integer hide;

	/**
	 * 是否反馈数据，主要用于传感器
	 */
	private Boolean isFeedback;
	/**
	 * 全部界面里的显示顺序
	 */
	private Integer sequence_all;
	/**
	 * 分房间界面里的显示顺序
	 */
	private Integer sequence_room;

	/**
	 * 修改时间
	 */
	private Date updateTime;

	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 是否可用 (0：禁用；1：可用)
	 */
	private Boolean isEnable;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getRoom() {
		return room;
	}

	public void setRoom(Integer room) {
		this.room = room;
	}

	public Integer getCoutDown() {
		return coutDown;
	}

	public void setCoutDown(Integer coutDown) {
		this.coutDown = coutDown;
	}

	public Integer getMaxON() {
		return maxON;
	}

	public void setMaxON(Integer maxON) {
		this.maxON = maxON;
	}

	public Integer getHide() {
		return hide;
	}

	public void setHide(Integer hide) {
		this.hide = hide;
	}

	public Boolean getIsFeedback() {
		return isFeedback;
	}

	public void setIsFeedback(Boolean isFeedback) {
		this.isFeedback = isFeedback;
	}

	public Integer getSequence_all() {
		return sequence_all;
	}

	public void setSequence_all(Integer sequence_all) {
		this.sequence_all = sequence_all;
	}

	public Integer getSequence_room() {
		return sequence_room;
	}

	public void setSequence_room(Integer sequence_room) {
		this.sequence_room = sequence_room;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Boolean getIsEnable() {
		return isEnable;
	}

	public void setIsEnable(Boolean isEnable) {
		this.isEnable = isEnable;
	}

}
